import axios from '../configs/axios.config'

/**
 * 通过微信授权CODE换取用户信息
 * @param data
 * @returns {AxiosPromise}
 */
export const getAccountInfoByCode = (data) => {
  return axios({
    url: '',
    method: 'get',
    params: data
  })
}
